package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 * 课程
 * </p>
 *
 * @author quin.song
 * @since 2023-01-03
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(of={"taskId","courseName"})
@ApiModel(value = "Course对象", description = "课程")
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "course_id", type = IdType.AUTO)
    private Long courseId;

    private Integer taskId;

    private String baseCourseId;

    private String courseName;

    private String courseTypeId;

    @ApiModelProperty("课程类别")
    private String courseType;

    @ApiModelProperty("课程性质 1必修  2选修")
    private Integer courseNature;

    @ApiModelProperty("专业性质，1:公共课，2:专业课")
    private Integer majorProp;

    @ApiModelProperty("课程代码")
    private String courseCode;

    @ApiModelProperty("学院id  开课单位")
    private String collegeId;

    private String collegeName;

    @ApiModelProperty("所属学科")
    private String subjectId;

    private String subjectName;

    @ApiModelProperty("课程学分")
    private Double credit;

    @ApiModelProperty("讲授学时")
    private Integer lectureHour;

    @ApiModelProperty("实验学时")
    private Integer experimentalHour;

    @ApiModelProperty("上机学时")
    private Integer computerHour;

    @ApiModelProperty("其他学时")
    private Integer otherHour;

    @ApiModelProperty("课程备注")
    private String description;

    @ApiModelProperty("1:主修  2：辅修")
    private Integer studyNature;

    @ApiModelProperty("操作状态 0未开启  1已开启  2停开（区分申请变更）")
    private Integer isEnable;
}
